package bairui.international.console.web.controller.prize.nine;

import com.lianjing.sh.spring.web.controller.enhance.module.Module;
import com.lianjing.sh.spring.web.controller.enhance.module.ModuleHead;
import com.lianjing.sh.spring.web.controller.enhance.module.body.PageFilterInfo;
import com.lianjing.sh.spring.web.controller.enhance.module.body.PageModuleBody;

/**
 *
 * Module_ItemPage
 *
 */
class Module_ItemPage{

	/**
	 * 分页模块
	 */
	public Module module(
		com.lianjing.sh.spring.web.controller.enhance.module.feature.PageModuleFeatureSupport moduleFeature,
		C_Prize_Nine_Detail_ItemPage.ItemPage.Operate c_Prize_Nine_Detail_ItemPage_ItemPage_Operate
	,	C_Prize_Nine_ItemManage_FileUpload.FileUpload.Operate c_Prize_Nine_ItemManage_FileUpload_FileUpload_Operate
	,	C_Prize_Nine_ItemManage_Delete.Delete.Operate c_Prize_Nine_ItemManage_Delete_Delete_Operate
	,	C_Prize_Nine_ItemManage_EditAccess.EditAccess.Operate c_Prize_Nine_ItemManage_EditAccess_EditAccess_Operate
	,	C_Prize_Nine_ItemManage_SetPrize.SetPrize.Operate c_Prize_Nine_ItemManage_SetPrize_SetPrize_Operate
	,	C_Prize_Nine_ItemManage_SetNoPrize.SetNoPrize.Operate c_Prize_Nine_ItemManage_SetNoPrize_SetNoPrize_Operate
	){
		return
			new Module(
					new ModuleHead("奖品列表")
						.addOperate(
							c_Prize_Nine_ItemManage_FileUpload_FileUpload_Operate
								.defaultComment("上传")
						)
					, 
					new PageModuleBody(
							moduleFeature,
							ItemPage_OutputInfo.outputInfo(),
							new PageFilterInfo(
									ItemPage_OutputInfo.pageInfo(), 
									ItemPage_OutputInfo.orderInfo()
								),
							c_Prize_Nine_Detail_ItemPage_ItemPage_Operate
						)
						.addListOperate(
							c_Prize_Nine_ItemManage_Delete_Delete_Operate
								.defaultComment("删除")
						)
						.addListOperate(
							c_Prize_Nine_ItemManage_EditAccess_EditAccess_Operate
								.defaultComment("编辑")
								.defaultTarget(com.lianjing.sh.spring.web.controller.base.operate.OperateTarget.Popup)
						)
						.addListOperate(
							c_Prize_Nine_ItemManage_SetPrize_SetPrize_Operate
								.defaultComment("设置为奖品")
						)
						.addListOperate(
							c_Prize_Nine_ItemManage_SetNoPrize_SetNoPrize_Operate
								.defaultComment("设置为非奖品")
						)
						.setIdentifier("id")
				);
	}
	
	public Module module(
		C_Prize_Nine_Detail_ItemPage.ItemPage.Operate c_Prize_Nine_Detail_ItemPage_ItemPage_Operate
	,	C_Prize_Nine_ItemManage_FileUpload.FileUpload.Operate c_Prize_Nine_ItemManage_FileUpload_FileUpload_Operate
	,	C_Prize_Nine_ItemManage_Delete.Delete.Operate c_Prize_Nine_ItemManage_Delete_Delete_Operate
	,	C_Prize_Nine_ItemManage_EditAccess.EditAccess.Operate c_Prize_Nine_ItemManage_EditAccess_EditAccess_Operate
	,	C_Prize_Nine_ItemManage_SetPrize.SetPrize.Operate c_Prize_Nine_ItemManage_SetPrize_SetPrize_Operate
	,	C_Prize_Nine_ItemManage_SetNoPrize.SetNoPrize.Operate c_Prize_Nine_ItemManage_SetNoPrize_SetNoPrize_Operate
	){
		return this.module(
				null,
				c_Prize_Nine_Detail_ItemPage_ItemPage_Operate
	,			c_Prize_Nine_ItemManage_FileUpload_FileUpload_Operate
	,			c_Prize_Nine_ItemManage_Delete_Delete_Operate
	,			c_Prize_Nine_ItemManage_EditAccess_EditAccess_Operate
	,			c_Prize_Nine_ItemManage_SetPrize_SetPrize_Operate
	,			c_Prize_Nine_ItemManage_SetNoPrize_SetNoPrize_Operate
			);
	}
	
	
	/**
	 * 输出模型
	 */
	

}
